$(document).ready(function(){
    $("#selectBox").goSelectInput({height: 30,width: 200});
    $("#selectBox2").goSelectInput({height: 30,width: 200});
    $("#selectBox3").goSelectInput({height: 30,width: 200});
    $("#selectBox4").goSelectInput({height: 30,width: 200});
    $("#selectBox5").goSelectInput({height: 30,width: 200});
    $("#selectBox6").goSelectInput({height: 30,width: 200});
    $("#selectBox7").goSelectInput({height: 30,width: 200});
    $("#selectBox8").goSelectInput({height: 30,width: 200});
    $("#selectBox9").goSelectInput({height: 30,width: 200});
    $("#selectBox10").goSelectInput({height: 30,width: 200});
    $("#selectBox11").goSelectInput({height: 30,width: 200});
});

$(document).ready(function(){
    $(".page-list span a ").click(function(){
        var val = $(this).attr("pageIndex");
        // alert('val:'+val);
        $("#current").attr("value",val);
        $("#search-form").submit();
    });
    
    $(".jump").click(function () {
        var val = $("#number").val();
        var pageSizes = $("#pageSizes").val();
        if(!val){
            alert("请输入页码!");
            return;
        }
        if(parseInt(val)> parseInt(pageSizes)){
            alert("您输入的页码过大,请重新输入!");
        }else {
            $("#current").attr("value",val);
            $("#search-form").submit();
        }
    });
});